﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Galnote.Control
{
	public partial class TagBox : UserControl
	{
		public TagBox()
		{
			InitializeComponent();
		}

		private void TaglistOne_Loaded(object sender, RoutedEventArgs e)
		{
			Works T1 = new Works();
			T1.Taglist = "Loli";
			Works T2 = new Works();
			T2.Taglist = "GameCG123456789!@#$%^&*()";
			Works T3 = new Works();
			T3.Taglist = "金发";

			Works[] data = { T1, T2, T1, T3, T2, T1, T1, T1, T1, T1, T1, T2, T1, T3 };
			TaglistOne.ItemsSource = data;
		}

		private void TaglistTwo_Loaded(object sender, RoutedEventArgs e)
		{
			Works T1 = new Works();
			T1.Taglist = "Loli";
			Works T2 = new Works();
			T2.Taglist = "GameCG123456789!@#$%^&*()";
			Works T3 = new Works();
			T3.Taglist = "金发";

			Works[] data = { T1, T2, T1 };
			TaglistTwo.ItemsSource = data;
		}
	}
}
